package com.fc.entity.output;

import com.fc.checkGroup.Insert;
import com.fc.checkGroup.Update;
import com.fc.enums.UseStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class AddressOutput {

    @Schema(title = "id")
    private Long id;

    @Schema(title = "收件人")
    private String consignee;

    @Schema(title = "联系电话")
    private String phoneNumber;

    @Schema(title = "省级区划编号")
    private String provinceCode;

    @Schema(title = "省级名称")
    private String provinceName;

    @Schema(title = "市级区划编号")
    private String cityCode;

    @Schema(title = "市级名称")
    private String cityName;

    @Schema(title = "区级区划编号")
    private String districtCode;

    @Schema(title = "区级名称")
    private String districtName;

    @Schema(title = "详细地址")
    private String detail;

    @Schema(title = "标签（如家庭、公司等）")
    private String label;

    @Schema(title = "是否默认地址，0 否，1 是")
    private Boolean isDefault;
}
